<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div></div>
</body>

</html>
<!-- <script src="jquery.min.js"></script>
 -->
 <script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
<script>
    // 1.如何使用jquery?
    // 1.引入jquery.js
    $(document).ready(function () {
        // console.log('jquery');
        $('div').width(100).height(100).css('background-color','red').text('史开业又高又帅');//链式编程
    })
    // $(function(){

    // })
</script>